/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package jps.model;

import java.util.ArrayList;

/**
 *
 * @author calyja
 */
public class Album {

    public Artist getArtist() {
        return artist;
    }

    public void setArtist(Artist artist) {
        this.artist = artist;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public Integer getRealeaseYear() {
        return realeaseYear;
    }

    public void setRealeaseYear(Integer realeaseYear) {
        this.realeaseYear = realeaseYear;
    }

    public Boolean getReleased() {
        return released;
    }

    public void setReleased(Boolean released) {
        this.released = released;
    }
    
    public ArrayList<Track> getTracks() {
        return tracks;
    }

    public void setTracks(ArrayList<Track> tracks) {
        this.tracks = tracks;
    }
    
    public void addTrack(Track track) {
        this.tracks.add(track);
    }
    
    public ArrayList<Track> tracks = new ArrayList<Track>();
    public Artist artist = null;
    public String name;
    public Double price;
    public Integer realeaseYear;
    public Boolean released;
    
}
